package com.xiaoyu.daggertest.module;

import com.xiaoyu.daggertest.PerUse;
import com.xiaoyu.daggertest.bean.Person;
import com.xiaoyu.daggertest.bean.Weapon;
import com.xiaoyu.daggertest.bean.coldsteal.Lance;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by yaodonglv on 2018/3/14.
 */

@Module
public class PersonModule {

    @PerUse
    @Provides
    Person providePerson(Lance lance){
        return new Person(lance);
    }

}
